package com.wootion.cims.dao;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wootion.cims.module.systemsetting.role.model.SysRoleMenu;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SysRoleMenuDao extends BaseMapper<SysRoleMenu> {
    /**
     * 根据角色id,查询当前用户对应的菜单id
     */
    List<String> menuIds(@Param("roleId")String roleId);
}
